package com.ruoyi.app.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.app.domain.RestockInfo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 进货单对象 restock_info
 * 
 * @author ruoyi
 * @date 2024-12-12
 */
@Data
public class RestockInfoVo extends RestockInfo
{

    private List<RestockProductVo> restockProductVos;


    private String groupType;

    private BigDecimal groupPrice;

    private Long groupNumber;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDate;

}
